\hypertarget{mappings_8h}{
\section{spherical/mappings.h \-File \-Reference}
\label{mappings_8h}\index{spherical/mappings.\-h@{spherical/mappings.\-h}}
}


\-Defines various spherical mappings.  


{\ttfamily \#include $<$nih/basic/numbers.\-h$>$}\*
{\ttfamily \#include $<$nih/linalg/vector.\-h$>$}\*
{\ttfamily \#include $<$algorithm$>$}\*
{\ttfamily \#include $<$nih/spherical/mappings\-\_\-inline.\-h$>$}\*
\subsection*{\-Functions}
\begin{DoxyCompactItemize}
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \-Vector3f \hyperlink{group__spherical__mappings_gabb50d34723dc8f63f83481dda7e4538a}{nih\-::from\-\_\-spherical\-\_\-coords} (const \-Vector2f \&uv)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \-Vector2f \hyperlink{group__spherical__mappings_gae14d642cb444062ebf966fc27f379972}{nih\-::to\-\_\-spherical\-\_\-coords} (const \-Vector3f \&vec)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \-Vector2f \hyperlink{group__spherical__mappings_ga5852f54031a04a3c2622ac9c1c3ee181}{nih\-::square\-\_\-to\-\_\-unit\-\_\-disk} (const \-Vector2f uv)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \-Vector2f \hyperlink{group__spherical__mappings_ga4c1322b35d3548385cfbcde647eaa9b6}{nih\-::unit\-\_\-disk\-\_\-to\-\_\-square} (const \-Vector2f disk)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \-Vector3f \hyperlink{group__spherical__mappings_ga8b4bb2387e2dcc609267e00777c753d1}{nih\-::square\-\_\-to\-\_\-cosine\-\_\-hemisphere} (const \-Vector2f \&uv)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \-Vector2f \hyperlink{group__spherical__mappings_ga1e65205c0882ccfa8b8cea7ab18525ce}{nih\-::cosine\-\_\-hemisphere\-\_\-to\-\_\-square} (const \-Vector3f \&dir)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \-Vector3f \hyperlink{group__spherical__mappings_ga711e9a117559053c96478f404aa2a278}{nih\-::uniform\-\_\-square\-\_\-to\-\_\-sphere} (const \-Vector2f \&uv)
\item 
\-N\-I\-H\-\_\-\-H\-O\-S\-T \-N\-I\-H\-\_\-\-D\-E\-V\-I\-C\-E \-Vector2f \hyperlink{group__spherical__mappings_ga74d80bd5bc66492ae691520586329be5}{nih\-::uniform\-\_\-sphere\-\_\-to\-\_\-square} (const \-Vector3f \&vec)
\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Defines various spherical mappings. 